#ifndef _SHELL_ORDERBEAN_BEAN_H_
#define _SHELL_ORDERBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class OrderBean : public Bean
{
	public:
	OrderBean();
	~OrderBean();
	void reset();
	OrderBean* clone();
	//订单号
	int64 orderId;
	//角色id
	int64 playerId;
	//服务器id
	int32 serverId;
	//金额
	int32 money;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
